<?php

	/**
	 * @see Bike_Form_Renderer_ExtJs_Field_Validate_Abstract
	 */
	require_once 'Bike/Form/Renderer/ExtJs/Field/Validate/Abstract.php';
	
	
	class Bike_Form_Renderer_ExtJs_Field_Validate_StringLength extends Bike_Form_Renderer_ExtJs_Field_Validate_Abstract
	{		public function getSettings()
		{			$settings = array();
			if(!is_null($this->getValidator()->getMin()))
			{				$settings['minLength'] = $this->getValidator()->getMin();
			}
			if(!is_null($this->getValidator()->getMax()))
			{
				$settings['maxLength'] = $this->getValidator()->getMax();
			}
			return $settings;
		}
	}
